set title "Figure 1, RED vs. DropTail" 
set ylabel "Throughput (%)"
set xlabel "Average Queue"
#set xrange [0:50]
#set yrange [0:100]
unset label

#plot "figure1_drop.dat" using 1:2 title 'DropTail' with linespoints, "figure1_red.dat" using 1:2 title 'RED' with linespoints
plot "figure1_drop.dat" using 1:2 title 'DropTail' , "figure1_red.dat" using 1:2 title 'RED'

set output "figure1.jpg"
set terminal jpeg
replot
